gh-53950: Clear MESSAGES in msgfmt#133316
Open
StanFromIreland wants to merge 4 commits intopython:mainfrom
Open
gh-53950: Clear MESSAGES in msgfmt#133316StanFromIreland wants to merge 4 commits intopython:mainfrom
MESSAGES in msgfmt#133316StanFromIreland wants to merge 4 commits intopython:mainfrom
Conversation
Member
|
What would be even better is not having a global variable at all, though that would be a larger change and is already partially covered by #10875 I believe. |
tomasr8
reviewed
May 2, 2025
Member
Author
|
We can just clear it for now, till the larger change is merged. |
tomasr8
approved these changes
May 2, 2025
Member
Author
|
Also request @serhiy-storchaka |
merwok
reviewed
May 2, 2025
Member
|
I am unsure about the better fix here. Why not eliminate the global variable if that fixes the problem? Then it will make the other PR smaller. |
Member
Author
|
@merwok I updated the PR with that if that is what you prefer, it is not too bad, the diff is pretty low. |
Member
|
Sharing MESSAGES between files is a (mis-)feature. See #10875 which solves this problem more thoroughly. |
tomasr8
reviewed
May 2, 2025
Member
Author
|
Do you mind splitting it from the larger pr, it would simplify it as Eric mentioned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cc @tomasr8 @merwok